// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from "vue";
import App from "./App";
import router from "./router";
import "weui/dist/style/weui.min.css";
import "lib-flexible/flexible.js";
import { routerAction } from "./lib/routerAction";
import Vuex from 'vuex'
//import store from './store/index'
import store from './store/index_spacename'

Vue.use(Vuex)

Vue.config.productionTip = false;
routerAction(router);
/* eslint-disable no-new */
new Vue({
  el: "#app",
  router,
  store,
  components: {
    App
  },
  template: "<App/>"
});
